<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div style="width: 100px;height: 100px;background-color: darkcyan;" id="div1"></div>
    <script src="jquery-1.12.2.min.js"></script>
    <script>
        $(function(){
            $("#div1").one("click", function(){     //一次性事件
                alert("aaa");
            });
        })
    </script>
</body>
</html>